package com.hyh.spring.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsPackage: com.hyh.spring.domain
 * @ClassName Order
 * @Author: hyhWTX
 * @CreateTime: 2023-06-05  17:34
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Long id;

    private Long userId;

    private Long productId;

    private Integer count;

    private BigDecimal money;

    private Integer status; //订单状态：0：创建中；1：已完结
}
